/*
** prnputs.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/

#include "pictor.h"

/*
** Prints a null-terminated string to the standard list device.
** Returns 0 on success or a non-zero value if an error occurred.
*/
int prnputs(char *str)
{
	while(*str) {
		if(prnputc(*str++))
			return(-1);
	}
	return(0);

} /* prnputs */
